package com.hanson.mapper;

import com.hanson.entity.GoodsContentBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GoodsContentBeanMapper {
    int deleteByPrimaryKey(Integer id);

    int deleteByGoodsId(@Param("goodsId") Integer goodsId);

    int insert(GoodsContentBean record);

    GoodsContentBean selectByPrimaryKey(Integer id);

    List<GoodsContentBean> selectByGoodsId(@Param("goodsId") Integer goodsId);

    List<GoodsContentBean> selectAll();

    int updateByPrimaryKey(GoodsContentBean record);
}